package com.g5kj.coupon.ssm.common;


import java.util.List;

/**
 * Created by apple on 2017/5/17.
 */
public class CheckUtil {

    public static boolean isNoEmpty(List p){
        return p!=null && p.size()>0;
    }

    public static boolean isNoEmpty(String o){
        return o!=null && !o.equals("");
    }
}
